package com.github.catvod.spider;

import com.github.catvod.crawler.Spider;
import com.github.catvod.parser.C0000;
import com.github.catvod.parser.C0001;
import com.github.catvod.parser.C0002;
import com.github.catvod.parser.C0003;
import com.github.catvod.parser.C0004;
import com.github.catvod.parser.C0005;
import com.github.catvod.parser.C0006;
import com.github.catvod.parser.C0007;
import com.github.catvod.parser.C0008;
import com.github.catvod.parser.C0009;
import com.github.catvod.spider.merge.C0011;
import com.github.catvod.spider.merge.C0012;
import com.github.catvod.spider.merge.C0013;
import com.github.catvod.spider.merge.C0014;
import com.github.catvod.spider.merge.C0015;
import com.github.catvod.spider.merge.CE;
import com.github.catvod.spider.merge.fP;
import java.io.IOException;
import java.util.HashMap;
import java.util.Random;
import okhttp3.MediaType;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

/* loaded from: classes.dex */
public class TTian extends Spider {

    /* renamed from: short, reason: not valid java name */
    private static final short[] f53short = {1687, 1686, 1737, 1738, 1736, 1733, 1689, 1678, 1672, 1686, 1732, 1736, 1687, 1679, 1732, 1733, 1678, 1736, 1686, 1684, 1732, 1679, 1736, 1737, 1684, 1690, 1732, 1736, 1684, 1686, 1690, 1688, 1679, 1740, 1736, 1687, 2584, 2632, 2655, 2591, 2637, 2625, 2635, 2589, 2652, 2653, 2583, 2586, 2646, 2635, 2630, 2630, 2589, 2629, 2588, 2589, 2655, 2636, 2646, 2655, 2652, 2636, 2624, 2636, 2587, 2648, 2585, 2636, 2584, 2632, 2586, 2652, 2655, 2627, 2392, 2430, 2408, 2431, 2336, 2380, 2410, 2408, 2403, 2425, 2806, 2802, 2801, 2797, 2797, 2793, 2742, 2733, 2743, 2720, 2743, 2730, 2450, 2469, 2470, 2469, 2482, 2469, 2482, 1053, 2414, 2423, 2428, 2375, 2410, 2429, 2421, 2425, 2410, 2419, 2411, 2193, 2184, 2179, 2232, 2185, 2182, 2186, 2178, 849, 840, 835, 888, 846, 835, 2387, 2390, 2380, 2379, 2768, 2761, 2754, 2809, 2774, 2767, 2757, 1217, 1176, 1244, 1217, 1158, 1153, 1155, 1163, 1217, 1178, 1175, 1182, 1163, 1201, 1181, 1163, 1167, 1180, 1165, 1158, 2812, 2809, 2796, 2809, 1261, 1268, 1279, 1220, 1259, 1266, 1272, 1220, 1263, 1267, 1262, 1270, 1273, 384, 401, 407, 405, 2826, 2843, 2845, 2847, 2841, 2837, 2831, 2836, 2830, 2214, 2211, 2215, 2211, 2238, 2399, 2372, 2399, 2378, 2375, 3205, 3205, 3205, 1097, 1104, 1115, 1120, 1116, 1104, 1105, 1099, 1114, 1105, 1099, 2755, 2778, 2769, 2794, 2769, 2780, 2759, 2768, 2774, 2753, 2778, 2759, 2034, 2027, 2016, 2011, 2021, 2023, 2032, 2027, 2038, 3278, 3287, 3292, 3303, 3274, 3293, 3285, 3289, 3274, 3283, 3275, 952, 929, 938, 913, 943, 956, 939, 943, 2926, 2935, 2940, 2887, 2913, 2941, 2937, 2922, 1905, 1896, 1891, 1880, 1897, 1894, 1898, 1890, 3035, 3010, 3017, 3058, 3012, 3017, 2968, 2953, 2970, 2971, 2957, 2999, 2973, 2970, 2948, 2971, 3048, 3057, 3066, 3009, 3054, 3063, 3069, 2321, 2376, 2316, 2321, 2390, 2385, 2387, 2395, 2321, 2376, 2385, 2394, 2401, 2394, 2395, 2378, 2399, 2391, 2386, 2381, 863, 858, 847, 858, 2280, 2289, 2298, 2241, 2286, 2295, 2301, 2241, 2282, 2294, 2283, 2291, 2300, 1468, 1457, 1464, 1453, 1431, 1446, 1449, 1445, 1453, 2694, 2719, 2708, 2735, 2707, 2716, 2705, 2691, 2691, 942, 951, 956, 903, 936, 948, 953, 929, 903, 948, 945, 939, 940, 1146, 1127, 1146, 1122, 1131, 1076, 1077, 646, 643, 648, 642, 440, 447, 417, 446, 2049, 2062, 2050, 2058, 998, 2583, 2576, 2574, 2296, 2272, 2280, 2278, 2275, 2272, 2444, 3093, 3084, 3079, 3132, 3091, 3087, 3074, 3098, 3132, 3077, 3089, 3084, 3086, 1001, 1008, 1019, 960, 1007, 1011, 1022, 998, 960, 1002, 1005, 1011, 1980, 1977, 1955, 1956, 790, 790, 863, 850, 852, 790, 857, 852, 846, 853, 863, 858, 841, 834, 790, 2011, 1987, 2010, 1986, 2015, 1990, 2007, 1988, 1986, 1945, 2000, 2009, 1988, 2011, 1947, 2002, 2007, 1986, 2007, 1933, 1942, 1696, 1696, 2937, 2942, 2871, 2843, 2842, 2816, 2833, 2842, 2816, 2905, 2864, 2845, 2823, 2820, 2843, 2823, 2845, 2816, 2845, 2843, 2842, 2894, 2900, 2834, 2843, 2822, 2841, 2905, 2832, 2837, 2816, 2837, 2895, 2900, 2842, 2837, 2841, 2833, 2889, 2902, 2902, 2937, 2942, 2937, 2942, 2937, 2942, 2905, 2905, 491, 492, 421, 393, 392, 402, 387, 392, 402, 459, 418, 399, 405, 406, 393, 405, 399, 402, 399, 393, 392, 476, 454, 384, 393, 404, 395, 459, 386, 391, 402, 391, 477, 454, 392, 391, 395, 387, 475, 452, 405, 399, 385, 392, 452, 491, 492, 491, 492, 2753, 2758, 2785, 2785, 2764, 2763, 2690, 2734, 2735, 2741, 2724, 2735, 2741, 2796, 2693, 2728, 2738, 2737, 2734, 2738, 2728, 2741, 2728, 2734, 2735, 2811, 2785, 2727, 2734, 2739, 2732, 2796, 2725, 2720, 2741, 2720, 2810, 2785, 2735, 2720, 2732, 2724, 2812, 2787, 2741, 2728, 2732, 2724, 2738, 2741, 2720, 2732, 2737, 2787, 2764, 2763, 2764, 2763, 542, 542, 574, 569, 574, 569, 2733, 2699, 2717, 2698, 2773, 2745, 2719, 2717, 2710, 2700, 1878, 1874, 1873, 1869, 1869, 1865, 1812, 1878, 1874, 1886, 1878, 1814, 1875, 1884, 1880, 1866, 1878, 1879, 1877, 1859, 1856, 2281, 2289, 2280, 2288, 2285, 2292, 2277, 2294, 2288, 2219, 2274, 2283, 2294, 2281, 2217, 2272, 2277, 2288, 2277, 2239, 2212, 2278, 2283, 2289, 2282, 2272, 2277, 2294, 2301, 2233, 2992, 3004, 3005, 2983, 2998, 3005, 2983, 3070, 2983, 2986, 2979, 2998, 1177, 1177, 1177, -29670, 25193, 23752, -30500, 1816, 1792, 1817, 1793, 1820, 1797, 1812, 1799, 1793, 1882, 1811, 1818, 1799, 1816, 1880, 1809, 1812, 1793, 1812, 1870, 1877, 1815, 1818, 1792, 1819, 1809, 1812, 1799, 1804, 1864, 1857, 1815, 1869, 1812, 1861, 1815, 1857, 1858, 1880, 1869, 1857, 1815, 1814, 1880, 1857, 1815, 1859, 1808, 1880, 1815, 1863, 1856, 1863, 1880, 1809, 1815, 1863, 1856, 1815, 1857, 1815, 1868, 1812, 1815, 1809, 1863, 1354, 1354, 1363, 1285, 1375, 1286, 1367, 1285, 1363, 1360, 1354, 1375, 1363, 1285, 1284, 1354, 1363, 1285, 1361, 1282, 1354, 1285, 1365, 1362, 1365, 1354, 1283, 1285, 1365, 1362, 1285, 1363, 1285, 1374, 1286, 1285, 1283, 1365, 1386, 1389, 1316, 1288, 1289, 1299, 1282, 1289, 1299, 1354, 1315, 1294, 1300, 1303, 1288, 1300, 1294, 1299, 1294, 1288, 1289, 1373, 1351, 1281, 1288, 1301, 1290, 1354, 1283, 1286, 1299, 1286, 1372, 1351, 1289, 1286, 1290, 1282, 1370, 1349, 1300, 1294, 1280, 1289, 1349, 1386, 1389, 1386, 1389, 2325, 2322, 2357, 2357, 2348, 2426, 2336, 2425, 2344, 2426, 2348, 2351, 2357, 2336, 2348, 2426, 2427, 2357, 2348, 2426, 2350, 2429, 2357, 2426, 2346, 2349, 2346, 2357, 2428, 2426, 2346, 2349, 2426, 2348, 2426, 2337, 2425, 2426, 2428, 2346, 2325, 2322, 2395, 2423, 2422, 2412, 2429, 2422, 2412, 2357, 2396, 2417, 2411, 2408, 2423, 2411, 2417, 2412, 2417, 2423, 2422, 2338, 2360, 2430, 2423, 2410, 2421, 2357, 2428, 2425, 2412, 2425, 2339, 2360, 2422, 2425, 2421, 2429, 2341, 2362, 2412, 2417, 2421, 2429, 2411, 2412, 2425, 2421, 2408, 2362, 2325, 2322, 2325, 2322, 1727, 1720, 1695, 1695, 1670, 1744, 1674, 1747, 1666, 1744, 1670, 1669, 1695, 1674, 1670, 1744, 1745, 1695, 1670, 1744, 1668, 1751, 1695, 1744, 1664, 1671, 1664, 1695, 1750, 1744, 1664, 1671, 1744, 1670, 1744, 1675, 1747, 1744, 1750, 1664, 1727, 1720, 1777, 1757, 1756, 1734, 1751, 1756, 1734, 1695, 1782, 1755, 1729, 
    1730, 1757, 1729, 1755, 1734, 1755, 1757, 1756, 1672, 1682, 1748, 1757, 1728, 1759, 1695, 1750, 1747, 1734, 1747, 1673, 1682, 1756, 1747, 1759, 1751, 1679, 1680, 1758, 1755, 1759, 1755, 1734, 1680, 1727, 1720, 1727, 1720, 1667, 1664, 1727, 1720, 1695, 1695, 1670, 1744, 1674, 1747, 1666, 1744, 1670, 1669, 1695, 1674, 1670, 1744, 1745, 1695, 1670, 1744, 1668, 1751, 1695, 1744, 1664, 1671, 1664, 1695, 1750, 1744, 1664, 1671, 1744, 1670, 1744, 1675, 1747, 1744, 1750, 1664, 1727, 1720, 1777, 1757, 1756, 1734, 1751, 1756, 1734, 1695, 1782, 1755, 1729, 1730, 1757, 1729, 1755, 1734, 1755, 1757, 1756, 1672, 1682, 1748, 1757, 1728, 1759, 1695, 1750, 1747, 1734, 1747, 1673, 1682, 1756, 1747, 1759, 1751, 1679, 1680, 1734, 1739, 1730, 1751, 1773, 1755, 1750, 1680, 1727, 1720, 1727, 1720, 2397, 2394, 2429, 2429, 2404, 2354, 2408, 2353, 2400, 2354, 2404, 2407, 2429, 2408, 2404, 2354, 2355, 2429, 2404, 2354, 2406, 2357, 2429, 2354, 2402, 2405, 2402, 2429, 2356, 2354, 2402, 2405, 2354, 2404, 2354, 2409, 2353, 2354, 2356, 2402, 2397, 2394, 2323, 2367, 2366, 2340, 2357, 2366, 2340, 2429, 2324, 2361, 2339, 2336, 2367, 2339, 2361, 2340, 2361, 2367, 2366, 2410, 2416, 2358, 2367, 2338, 2365, 2429, 2356, 2353, 2340, 2353, 2411, 2416, 2366, 2353, 2365, 2357, 2413, 2418, 2336, 2353, 2359, 2357, 2418, 2397, 2394, 2397, 2394, 2722, 2725, 2690, 2690, 2715, 2765, 2711, 2766, 2719, 2765, 2715, 2712, 2690, 2711, 2715, 2765, 2764, 2690, 2715, 2765, 2713, 2762, 2690, 2765, 2717, 2714, 2717, 2690, 2763, 2765, 2717, 2714, 2765, 2715, 2765, 2710, 2766, 2765, 2763, 2717, 2690, 2690, 2722, 2725, 2722, 2725, 2962, 2996, 2978, 2997, 3050, 2950, 2976, 2978, 2985, 2995, 3162, 3166, 3165, 3137, 3137, 3141, 3096, 3162, 3166, 3154, 3162, 3098, 3167, 3152, 3156, 3142, 3162, 3163, 3161, 3151, 3148, 474, 470, 471, 461, 476, 471, 461, 404, 461, 448, 457, 476, 2190, 2190, 2190, -30154, 25669, 23268, -28944, 1827, 1827, 1898, 1895, 1889, 1827, 1900, 1889, 1915, 1888, 1898, 1903, 1916, 1911, 1827, 1238, 1230, 1239, 1231, 1234, 1227, 1242, 1225, 1231, 1172, 1245, 1236, 1225, 1238, 1174, 1247, 1242, 1231, 1242, 1152, 1179, 2857, 2857, 3096, 3103, 3158, 3194, 3195, 3169, 3184, 3195, 3169, 3128, 3153, 3196, 3174, 3173, 3194, 3174, 3196, 3169, 3196, 3194, 3195, 3119, 3125, 3187, 3194, 3175, 3192, 3128, 3185, 3188, 3169, 3188, 3118, 3125, 3195, 3188, 3192, 3184, 3112, 3127, 3171, 3194, 3185, 3146, 3196, 3185, 3127, 3096, 3103, 3096, 3103, 2095, 2088, 2063, 2063, 719, 712, 641, 685, 684, 694, 679, 684, 694, 751, 646, 683, 689, 690, 685, 689, 683, 694, 683, 685, 684, 760, 738, 676, 685, 688, 687, 751, 678, 675, 694, 675, 761, 738, 684, 675, 687, 679, 767, 736, 689, 683, 677, 684, 736, 719, 712, 719, 712, 1323, 1324, 1381, 1353, 1352, 1362, 1347, 1352, 1362, 1291, 1378, 1359, 1365, 1366, 1353, 1365, 1359, 1362, 1359, 1353, 1352, 1308, 1286, 1344, 1353, 1364, 1355, 1291, 1346, 1351, 1362, 1351, 1309, 1286, 1352, 1351, 1355, 1347, 1307, 1284, 1362, 1359, 1355, 1347, 1365, 1362, 1351, 1355, 1366, 1284, 1323, 1324, 1323, 1324, 2830, 2830, 2862, 2857, 2862, 2857, 673, 647, 657, 646, 729, 693, 659, 657, 666, 640, 2644, 2640, 2643, 2639, 2639, 2635, 2582, 2644, 2640, 2652, 2644, 2580, 2641, 2654, 2650, 2632, 2644, 2645, 2647, 2625, 2626, 1827, 1851, 1826, 1850, 1831, 1854, 1839, 1852, 1850, 1889, 1832, 1825, 1852, 1827, 1891, 1834, 1839, 1850, 1839, 1909, 1902, 1836, 1825, 1851, 1824, 1834, 1839, 1852, 1847, 1907, 1401, 1397, 1396, 1390, 1407, 1396, 1390, 1335, 1390, 1379, 1386, 1407, 933, 933, 933, -30043, 25814, 23159, -29085, 2221, 2221, 2276, 2281, 2287, 2221, 2274, 2287, 2293, 2286, 2276, 2273, 2290, 2297, 2221, 2221, 2229, 2220, 2228, 2217, 2224, 2209, 2226, 2228, 2287, 2214, 2223, 2226, 2221, 2285, 2212, 2209, 2228, 2209, 2299, 2272, 2096, 2096, 1789, 1786, 1715, 1695, 1694, 1668, 1685, 1694, 1668, 1757, 1716, 1689, 1667, 1664, 1695, 1667, 1689, 1668, 1689, 1695, 1694, 1738, 1744, 1686, 1695, 1666, 1693, 1757, 1684, 1681, 1668, 1681, 1739, 1744, 1694, 1681, 1693, 1685, 1741, 1746, 1691, 1685, 1673, 1671, 1695, 1666, 1684, 1746, 1789, 1786, 1789, 1786, 2755, 2756, 2787, 2787, 1619, 1620, 1565, 1585, 1584, 1578, 1595, 1584, 1578, 1651, 1562, 1591, 1581, 1582, 1585, 1581, 1591, 1578, 1591, 1585, 1584, 1636, 1662, 1592, 1585, 1580, 1587, 1651, 1594, 1599, 1578, 1599, 1637, 1662, 1584, 1599, 1587, 1595, 1635, 1660, 1581, 1591, 1593, 1584, 1660, 1619, 1620, 1619, 1620, 1845, 1842, 1915, 1879, 1878, 1868, 1885, 1878, 1868, 1813, 1916, 1873, 1867, 1864, 1879, 1867, 1873, 1868, 1873, 1879, 1878, 1794, 1816, 1886, 1879, 1866, 1877, 1813, 1884, 1881, 1868, 1881, 1795, 1816, 1878, 1881, 1877, 1885, 1797, 1818, 1868, 1873, 1877, 1885, 1867, 1868, 1881, 1877, 1864, 1818, 1845, 1842, 1845, 1842, 3139, 3139, 3171, 3172, 3171, 3172, 1782, 1744, 1734, 1745, 1678, 1762, 1732, 1734, 1741, 1751, 816, 820, 823, 811, 811, 815, 882, 816, 820, 824, 816, 880, 821, 826, 830, 812, 816, 817, 819, 805, 806, 2662, 2686, 2663, 2687, 2658, 2683, 2666, 2681, 2687, 2596, 2669, 2660, 2681, 2662, 2598, 2671, 2666, 2687, 2666, 2608, 2603, 2665, 2660, 2686, 2661, 2671, 2666, 2681, 2674, 2614, 2114, 2126, 2127, 2133, 2116, 2127, 2133, 2060, 2133, 2136, 2129, 2116, 338, 338, 338, -28987, 24758, 24087, -30205, 2843, 2838, 2847, 2826, 2864, 2817, 2830, 2818, 2826, 631, 634, 627, 614, 604, 618, 615, 938, 1011, 951, 938, 1009, 1020, 1013, 992, 938, 1009, 1002, 1013, 986, 1009, 1020, 1013, 992, 799, 794, 783, 794, 1849, 1852, 1830, 1825, 1942, 1945, 1940, 1926, 1926, 3283, 3292, 3289, 3265, 3280, 3271, 3270, 2683, 2658, 2665, 2642, 2687, 2664, 2656, 2668, 2687, 2662, 2686, 1363, 1354, 1345, 1402, 1355, 1348, 1352, 1344, 1744, 1737, 1730, 1785, 1743, 1730, 1364, 1357, 1350, 1405, 1362, 1355, 1345, 884, 813, 873, 884, 815, 802, 811, 830, 884, 815, 817, 772, 813, 820, 831, 2964, 2961, 2948, 2961, 1285, 1287, 1295, 2359, 2350, 2341, 2334, 2353, 2344, 2338, 2334, 2357, 2345, 2356, 2348, 
    2339, 2160, 2165, 2159, 2152, 773, 788, 775, 774, 784, 1256, 1263, 1265, 2354, 2338, 2351, 2356, 532, 577, 603, 597, 604, 527, 2667, 2617, 2596, 2592, 2600, 2622, 2617, 2604, 2592, 2621, 2672, 575, 2906, 2910, 2906, 1639, 1653, -32530, 28317, 2424, 2431, 2401, 2360, 2359, 391, 411, 411, 415, 412, 469, 448, 448, 386, 398, 411, 394, 413, 390, 398, 387, 450, 415, 413, 384, 450, 409, 390, 395, 394, 384, 450, 478, 477, 474, 474, 470, 472, 474, 472, 477, 476, 449, 396, 384, 412, 449, 398, 415, 450, 397, 394, 390, 389, 390, 385, 392, 449, 386, 406, 414, 396, 387, 384, 410, 395, 449, 396, 384, 386, 3311, 3244, 3314, 3252, 3321, 2738, 2730, 2722, 2732, 2729, 2730, -30699, 26214, 387, 388, 410, 460, 3277, 3270, 3276, 2238, 2203, 2192, 2202, 415, 2142, 2138, 2142, 1684, 1680, 1684, 18470, 2254, 2263, 2268, 2279, 2250, 2269, 2261, 2265, 2250, 2259, 2251, 2435, 2458, 2449, 2474, 2459, 2452, 2456, 2448, 1133, 1140, 1151, 1092, 1138, 1151, 1122, 1127, 1149, 1146, 2177, 2200, 2195, 2216, 2183, 2206, 2196, 668, 709, 641, 668, 731, 732, 734, 726, 668, 704, 726, 722, 705, 720, 731, 2605, 2600, 2621, 2600, 2755, 2778, 2769, 2794, 2757, 2780, 2774, 2794, 2753, 2781, 2752, 2776, 2775};
    private String h = "";
    private String V0 = C0018.m56(f53short, 0, 36, 1788);
    private String j = C0004.m12(f53short, 36, 38, 2607);

    public TTian() {
        int m13 = C0004.m13();
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = m13 <= 0 ? 1709 : 1678;
                case 204:
                    System.out.println(Double.decode(C0001.m5("I6n8EA5gZMoWY1kdTRpC30Ty9e91R")));
                    break;
                case 239:
                    break;
            }
            return;
        }
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:4:0x000c. Please report as an issue. */
    public static String getRandomNickname(int i) {
        Random random = new Random();
        String str = "";
        int i2 = 0;
        while (true) {
            int i3 = 1616;
            while (true) {
                i3 ^= 1633;
                switch (i3) {
                    case 14:
                    case 49:
                        i3 = i2 < i ? 1709 : 1678;
                    case 204:
                        str = str + String.valueOf(random.nextInt(10));
                        i2++;
                        int i4 = 1740;
                        while (true) {
                            i4 ^= 1757;
                            switch (i4) {
                                case 17:
                                    i4 = 1771;
                                    break;
                                case 54:
                                    break;
                            }
                        }
                        break;
                    case 239:
                        break;
                }
                return str;
            }
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:36:0x0068, code lost:
    
        return r3;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    private java.util.HashMap<java.lang.String, java.lang.String> h(java.lang.String r7) {
        /*
            r6 = this;
            r0 = 0
            java.lang.String r1 = "ۦ۟ۦ"
            r2 = r0
            r3 = r0
            r4 = r1
            r1 = r0
        L7:
            int r4 = com.github.catvod.parser.C0006.m20(r4)
            switch(r4) {
                case 1746720: goto L4f;
                case 1747900: goto L2b;
                case 1748735: goto L26;
                case 1748888: goto L20;
                case 1749634: goto L39;
                case 1752674: goto L3e;
                case 1753421: goto L31;
                case 1753698: goto L68;
                case 1754564: goto L5b;
                case 1754656: goto L4a;
                case 1755592: goto L1b;
                default: goto Le;
            }
        Le:
            r1 = 74
            r4 = 10
            r5 = 2317(0x90d, float:3.247E-42)
            java.lang.String r1 = com.github.catvod.spider.merge.C0015.m47(r2, r1, r4, r5)
            java.lang.String r4 = "ۣۡۡ"
            goto L7
        L1b:
            short[] r2 = com.github.catvod.spider.TTian.f53short
            java.lang.String r4 = "ۡۦ۠"
            goto L7
        L20:
            r3.put(r1, r0)
            java.lang.String r4 = "ۧۨۡ"
            goto L7
        L26:
            short[] r2 = com.github.catvod.spider.TTian.f53short
            java.lang.String r4 = "ۧۥۢ"
            goto L7
        L2b:
            r3.put(r1, r0)
            java.lang.String r4 = "ۦۨۤ"
            goto L7
        L31:
            java.util.HashMap r3 = new java.util.HashMap
            r3.<init>()
            java.lang.String r4 = "ۨۧۧ"
            goto L7
        L39:
            short[] r2 = com.github.catvod.spider.TTian.f53short
            java.lang.String r4 = "ۥۦۣ"
            goto L7
        L3e:
            r0 = 103(0x67, float:1.44E-43)
            r4 = 1
            r5 = 1085(0x43d, float:1.52E-42)
            java.lang.String r0 = com.github.catvod.parser.C0009.m30(r2, r0, r4, r5)
            java.lang.String r4 = "ۣ۠ۧ"
            goto L7
        L4a:
            short[] r2 = com.github.catvod.spider.TTian.f53short
            java.lang.String r4 = "۟۠ۡ"
            goto L7
        L4f:
            r1 = 96
            r4 = 7
            r5 = 2496(0x9c0, float:3.498E-42)
            java.lang.String r1 = com.github.catvod.parser.C0005.m17(r2, r1, r4, r5)
            java.lang.String r4 = "ۢۡۡ"
            goto L7
        L5b:
            r0 = 84
            r4 = 12
            r5 = 2713(0xa99, float:3.802E-42)
            java.lang.String r0 = com.github.catvod.parser.C0004.m12(r2, r0, r4, r5)
            java.lang.String r4 = "ۡۨ۟"
            goto L7
        L68:
            return r3
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.TTian.h(java.lang.String):java.util.HashMap");
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x008e. Please report as an issue. */
    public String categoryContent(String str, String str2, boolean z, HashMap<String, String> hashMap) {
        String m30 = C0009.m30(f53short, 104, 11, 2328);
        String m56 = C0018.m56(f53short, 115, 8, 2279);
        String m17 = C0005.m17(f53short, 123, 6, 807);
        String m6 = C0002.m6(f53short, 129, 4, 2367);
        String m172 = C0005.m17(f53short, 133, 7, 2726);
        try {
            JSONObject jSONObject = new JSONObject();
            JSONArray jSONArray = new JSONObject(formUploadCate(this.h + C0007.m26(f53short, 140, 20, 1262), str, str2)).getJSONObject(C0009.m30(f53short, 160, 4, 2712)).getJSONArray(m6);
            JSONArray jSONArray2 = new JSONArray();
            int i = 0;
            while (true) {
                int length = jSONArray.length();
                int i2 = 1616;
                while (true) {
                    i2 ^= 1633;
                    switch (i2) {
                        case 14:
                        case 49:
                            i2 = i < length ? 1709 : 1678;
                        case 204:
                            JSONObject jSONObject2 = jSONArray.getJSONObject(i);
                            JSONObject jSONObject3 = new JSONObject();
                            jSONObject3.put(m17, jSONObject2.getString(m17));
                            jSONObject3.put(m56, jSONObject2.getString(m56));
                            boolean has = jSONObject2.has(m172);
                            int i3 = 1740;
                            while (true) {
                                i3 ^= 1757;
                                switch (i3) {
                                    case 17:
                                        i3 = has ? 1833 : 1802;
                                    case 54:
                                    case 471:
                                        jSONObject3.put(m172, jSONObject2.getString(C0004.m12(f53short, 164, 13, 1179)));
                                        break;
                                    case 500:
                                        jSONObject3.put(m172, jSONObject2.getString(m172));
                                        int i4 = 1864;
                                        while (true) {
                                            i4 ^= 1881;
                                            switch (i4) {
                                                case 17:
                                                    i4 = 48674;
                                                case 47483:
                                                    break;
                                            }
                                        }
                                        break;
                                }
                            }
                            jSONObject3.put(m30, jSONObject2.getString(m30));
                            jSONArray2.put(jSONObject3);
                            i++;
                            int i5 = 48767;
                            while (true) {
                                i5 ^= 48784;
                                switch (i5) {
                                    case 14:
                                        break;
                                    case 239:
                                        i5 = 48798;
                                        break;
                                }
                            }
                            break;
                        case 239:
                            break;
                    }
                    jSONObject.put(C0000.m1(f53short, 177, 4, 496), str2);
                    jSONObject.put(C0006.m18(f53short, 181, 9, 2938), 100);
                    jSONObject.put(C0002.m6(f53short, 190, 5, 2250), 12);
                    jSONObject.put(C0012.m37(f53short, 195, 5, 2347), 1200);
                    jSONObject.put(m6, jSONArray2);
                    return jSONObject.toString();
                }
            }
        } catch (Throwable th) {
            return "";
        }
    }

    /*  JADX ERROR: JadxRuntimeException in pass: RegionMakerVisitor
        jadx.core.utils.exceptions.JadxRuntimeException: Failed to find switch 'out' block (already processed)
        	at jadx.core.dex.visitors.regions.maker.SwitchRegionMaker.calcSwitchOut(SwitchRegionMaker.java:202)
        	at jadx.core.dex.visitors.regions.maker.SwitchRegionMaker.process(SwitchRegionMaker.java:61)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.traverse(RegionMaker.java:115)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.makeRegion(RegionMaker.java:69)
        	at jadx.core.dex.visitors.regions.maker.LoopRegionMaker.makeEndlessLoop(LoopRegionMaker.java:281)
        	at jadx.core.dex.visitors.regions.maker.LoopRegionMaker.process(LoopRegionMaker.java:64)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.traverse(RegionMaker.java:92)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.makeRegion(RegionMaker.java:69)
        	at jadx.core.dex.visitors.regions.maker.SwitchRegionMaker.processFallThroughCases(SwitchRegionMaker.java:105)
        	at jadx.core.dex.visitors.regions.maker.SwitchRegionMaker.process(SwitchRegionMaker.java:64)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.traverse(RegionMaker.java:115)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.makeRegion(RegionMaker.java:69)
        	at jadx.core.dex.visitors.regions.maker.LoopRegionMaker.makeEndlessLoop(LoopRegionMaker.java:281)
        	at jadx.core.dex.visitors.regions.maker.LoopRegionMaker.process(LoopRegionMaker.java:64)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.traverse(RegionMaker.java:92)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.makeRegion(RegionMaker.java:69)
        	at jadx.core.dex.visitors.regions.maker.LoopRegionMaker.makeEndlessLoop(LoopRegionMaker.java:281)
        	at jadx.core.dex.visitors.regions.maker.LoopRegionMaker.process(LoopRegionMaker.java:64)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.traverse(RegionMaker.java:92)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.makeRegion(RegionMaker.java:69)
        	at jadx.core.dex.visitors.regions.maker.SwitchRegionMaker.processFallThroughCases(SwitchRegionMaker.java:105)
        	at jadx.core.dex.visitors.regions.maker.SwitchRegionMaker.process(SwitchRegionMaker.java:64)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.traverse(RegionMaker.java:115)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.makeRegion(RegionMaker.java:69)
        	at jadx.core.dex.visitors.regions.maker.LoopRegionMaker.makeEndlessLoop(LoopRegionMaker.java:281)
        	at jadx.core.dex.visitors.regions.maker.LoopRegionMaker.process(LoopRegionMaker.java:64)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.traverse(RegionMaker.java:92)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.makeRegion(RegionMaker.java:69)
        	at jadx.core.dex.visitors.regions.maker.LoopRegionMaker.makeEndlessLoop(LoopRegionMaker.java:281)
        	at jadx.core.dex.visitors.regions.maker.LoopRegionMaker.process(LoopRegionMaker.java:64)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.traverse(RegionMaker.java:92)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.makeRegion(RegionMaker.java:69)
        	at jadx.core.dex.visitors.regions.maker.RegionMaker.makeMthRegion(RegionMaker.java:49)
        	at jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:25)
        */
    /* JADX WARN: Failed to find 'out' block for switch in B:147:0x026c. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:28:0x01c8. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:61:0x0225. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:66:0x024a. Please report as an issue. */
    public java.lang.String detailContent(java.util.List<java.lang.String> r23) {
        /*
            Method dump skipped, instructions count: 1184
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.TTian.detailContent(java.util.List):java.lang.String");
    }

    public String formUpload(String str) {
        String valueOf = String.valueOf(System.currentTimeMillis() / 1000);
        String lowerCase = CE.h(this.V0 + valueOf, CE.V0).toLowerCase();
        OkHttpClient okHttpClient = new OkHttpClient();
        String str2 = C0005.m17(f53short, 420, 15, 827) + getRandomNickname(10);
        MediaType parse = MediaType.parse(C0001.m3(f53short, 435, 21, 1974) + str2);
        StringBuilder sb = new StringBuilder();
        sb.append(C0005.m17(f53short, 456, 2, 1677));
        sb.append(str2);
        sb.append(C0006.m18(f53short, 458, 49, 2932));
        sb.append(str2);
        sb.append(C0004.m12(f53short, 507, 49, 486));
        sb.append(lowerCase);
        String m18 = C0006.m18(f53short, 556, 4, 2764);
        sb.append(m18);
        sb.append(str2);
        sb.append(C0003.m9(f53short, 560, 54, 2753));
        sb.append(valueOf);
        sb.append(m18);
        sb.append(str2);
        sb.append(C0011.m35(f53short, 614, 6, 563));
        try {
            return okHttpClient.newCall(new Request.Builder().url(str).post(RequestBody.create(parse, sb.toString())).addHeader(C0001.m3(f53short, 620, 10, 2808), C0007.m26(f53short, 630, 21, 1849)).addHeader(C0012.m37(f53short, 681, 12, 3027), C0012.m37(f53short, 651, 30, 2180) + str2).build()).execute().body().string();
        } catch (IOException e) {
            System.out.println(C0000.m1(f53short, 693, 3, 1198) + e);
            return C0009.m30(f53short, 696, 4, 1529);
        }
    }

    public String formUploadCate(String str, String str2, String str3) {
        String valueOf = String.valueOf(System.currentTimeMillis() / 1000);
        String lowerCase = CE.h(this.V0 + valueOf, CE.V0).toLowerCase();
        OkHttpClient okHttpClient = new OkHttpClient();
        String m52 = C0017.m52(f53short, 700, 66, 1909);
        try {
            return okHttpClient.newCall(new Request.Builder().url(str).post(RequestBody.create(MediaType.parse(m52), C0008.m27(f53short, 766, 87, 1383) + lowerCase + C0011.m35(f53short, 853, 94, 2328) + valueOf + C0015.m47(f53short, 947, 184, 1714) + str2 + C0017.m52(f53short, 1131, 89, 2384) + str3 + C0011.m35(f53short, 1220, 46, 2735))).addHeader(C0011.m35(f53short, 1266, 10, 3015), C0001.m3(f53short, 1276, 21, 3125)).addHeader(C0017.m52(f53short, 1297, 12, 441), m52).build()).execute().body().string();
        } catch (IOException e) {
            System.out.println(C0009.m30(f53short, 1309, 3, 2233) + e);
            return C0000.m1(f53short, 1312, 4, 981);
        }
    }

    public String formUploadDetail(String str, String str2) {
        String valueOf = String.valueOf(System.currentTimeMillis() / 1000);
        String lowerCase = CE.h(this.V0 + valueOf, CE.V0).toLowerCase();
        OkHttpClient okHttpClient = new OkHttpClient();
        String str3 = C0012.m37(f53short, 1316, 15, 1806) + getRandomNickname(10);
        MediaType parse = MediaType.parse(C0002.m6(f53short, 1331, 21, 1211) + str3);
        StringBuilder sb = new StringBuilder();
        sb.append(C0008.m27(f53short, 1352, 2, 2820));
        sb.append(str3);
        sb.append(C0003.m9(f53short, 1354, 51, 3093));
        sb.append(str2);
        String m47 = C0015.m47(f53short, 1405, 4, 2082);
        sb.append(m47);
        sb.append(str3);
        sb.append(C0011.m35(f53short, 1409, 49, 706));
        sb.append(lowerCase);
        sb.append(m47);
        sb.append(str3);
        sb.append(C0002.m6(f53short, 1458, 54, 1318));
        sb.append(valueOf);
        sb.append(m47);
        sb.append(str3);
        sb.append(C0011.m35(f53short, 1512, 6, 2851));
        try {
            return okHttpClient.newCall(new Request.Builder().url(str).post(RequestBody.create(parse, sb.toString())).addHeader(C0004.m12(f53short, 1518, 10, 756), C0011.m35(f53short, 1528, 21, 2619)).addHeader(C0007.m26(f53short, 1579, 12, 1306), C0006.m18(f53short, 1549, 30, 1870) + str3).build()).execute().body().string();
        } catch (IOException e) {
            System.out.println(C0008.m27(f53short, 1591, 3, 914) + e);
            return C0004.m12(f53short, 1594, 4, 838);
        }
    }

    public String formUploadSearch(String str, String str2) {
        String valueOf = String.valueOf(System.currentTimeMillis() / 1000);
        String lowerCase = CE.h(this.V0 + valueOf, CE.V0).toLowerCase();
        OkHttpClient okHttpClient = new OkHttpClient();
        String str3 = C0000.m1(f53short, 1598, 15, 2176) + getRandomNickname(10);
        MediaType parse = MediaType.parse(C0002.m6(f53short, 1613, 21, 2240) + str3);
        StringBuilder sb = new StringBuilder();
        sb.append(C0009.m30(f53short, 1634, 2, 2077));
        sb.append(str3);
        sb.append(C0001.m3(f53short, 1636, 52, 1776));
        sb.append(str2);
        String m1 = C0000.m1(f53short, 1688, 4, 2766);
        sb.append(m1);
        sb.append(str3);
        sb.append(C0002.m6(f53short, 1692, 49, 1630));
        sb.append(lowerCase);
        sb.append(m1);
        sb.append(str3);
        sb.append(C0000.m1(f53short, 1741, 54, 1848));
        sb.append(valueOf);
        sb.append(m1);
        sb.append(str3);
        sb.append(C0003.m9(f53short, 1795, 6, 3182));
        try {
            return okHttpClient.newCall(new Request.Builder().url(str).post(RequestBody.create(parse, sb.toString())).addHeader(C0003.m9(f53short, 1801, 10, 1699), C0000.m1(f53short, 1811, 21, 863)).addHeader(C0005.m17(f53short, 1862, 12, 2081), C0013.m41(f53short, 1832, 30, 2571) + str3).build()).execute().body().string();
        } catch (IOException e) {
            System.out.println(C0000.m1(f53short, 1874, 3, 357) + e);
            return C0005.m17(f53short, 1877, 4, 1830);
        }
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x006f. Please report as an issue. */
    public String homeContent(boolean z) {
        String m6 = C0002.m6(f53short, 1881, 9, 2927);
        String m18 = C0006.m18(f53short, 1890, 7, 515);
        try {
            JSONObject jSONObject = new JSONObject();
            String formUpload = formUpload(this.h + C0008.m27(f53short, 1897, 17, 901));
            JSONArray jSONArray = new JSONArray();
            JSONArray jSONArray2 = new JSONObject(formUpload).getJSONObject(C0014.m43(f53short, 1914, 4, 891)).getJSONArray(C0005.m17(f53short, 1918, 4, 1877));
            int i = 0;
            while (true) {
                int length = jSONArray2.length();
                int i2 = 1616;
                while (true) {
                    i2 ^= 1633;
                    switch (i2) {
                        case 14:
                        case 49:
                            i2 = i < length ? 1709 : 1678;
                        case 204:
                            JSONObject jSONObject2 = jSONArray2.getJSONObject(i);
                            JSONObject jSONObject3 = new JSONObject();
                            jSONObject3.put(m18, jSONObject2.getString(m18));
                            jSONObject3.put(m6, jSONObject2.getString(m6));
                            jSONArray.put(jSONObject3);
                            int i3 = i + 1;
                            int i4 = 1740;
                            while (true) {
                                i4 ^= 1757;
                                switch (i4) {
                                    case 17:
                                        i4 = 1771;
                                        break;
                                    case 54:
                                        break;
                                }
                            }
                            i = i3;
                            break;
                        case 239:
                            break;
                    }
                    jSONObject.put(C0008.m27(f53short, 1922, 5, 2037), jSONArray);
                    int i5 = 1864;
                    while (true) {
                        i5 ^= 1881;
                        switch (i5) {
                            case 17:
                                if (!z) {
                                    break;
                                } else {
                                    i5 = 48736;
                                }
                            case 47384:
                                break;
                            case 47417:
                                jSONObject.put(C0000.m1(f53short, 1927, 7, 3253), new JSONObject("{\"1\":[{\"key\":\"type\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"爱情\",\"v\":\"爱情\"},{\"n\":\"恐怖\",\"v\":\"恐怖\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"警匪\",\"v\":\"警匪\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"动画\",\"v\":\"动画\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"武侠\",\"v\":\"武侠\"},{\"n\":\"冒险\",\"v\":\"冒险\"},{\"n\":\"枪战\",\"v\":\"枪战\"},{\"n\":\"恐怖\",\"v\":\"恐怖\"},{\"n\":\"悬疑\",\"v\":\"悬疑\"},{\"n\":\"惊悚\",\"v\":\"惊悚\"},{\"n\":\"经典\",\"v\":\"经典\"},{\"n\":\"青春\",\"v\":\"青春\"},{\"n\":\"文艺\",\"v\":\"文艺\"},{\"n\":\"微电影\",\"v\":\"微电影\"},{\"n\":\"古装\",\"v\":\"古装\"},{\"n\":\"历史\",\"v\":\"历史\"},{\"n\":\"运动\",\"v\":\"运动\"},{\"n\":\"农村\",\"v\":\"农村\"},{\"n\":\"儿童\",\"v\":\"儿童\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"内地\",\"v\":\"内地\"},{\"n\":\"中国大陆\",\"v\":\"大陆\"},{\"n\":\"中国香港\",\"v\":\"香港\"},{\"n\":\"中国台湾\",\"v\":\"台湾\"},{\"n\":\"美国\",\"v\":\"美国\"},{\"n\":\"法国\",\"v\":\"法国\"},{\"n\":\"英国\",\"v\":\"英国\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"韩国\",\"v\":\"韩国\"},{\"n\":\"德国\",\"v\":\"德国\"},{\"n\":\"泰国\",\"v\":\"泰国\"},{\"n\":\"印度\",\"v\":\"印度\"},{\"n\":\"意大利\",\"v\":\"意大利\"},{\"n\":\"西班牙\",\"v\":\"西班牙\"},{\"n\":\"加拿大\",\"v\":\"加拿大\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]}],\"2\":[{\"key\":\"type\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"古装\",\"v\":\"古装\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"青春偶像\",\"v\":\"青春偶像\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"家庭\",\"v\":\"家庭\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"历史\",\"v\":\"历史\"},{\"n\":\"经典\",\"v\":\"经典\"},{\"n\":\"乡村\",\"v\":\"乡村\"},{\"n\":\"情景\",\"v\":\"情景\"},{\"n\":\"商战\",\"v\":\"商战\"},{\"n\":\"网剧\",\"v\":\"网剧\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"内地\",\"v\":\"内地\"},{\"n\":\"中国大陆\",\"v\":\"大陆\"},{\"n\":\"中国台湾\",\"v\":\"中国台湾\"},{\"n\":\"中国香港\",\"v\":\"中国香港\"},{\"n\":\"韩国\",\"v\":\"韩国\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"美国\",\"v\":\"美国\"},{\"n\":\"泰国\",\"v\":\"泰国\"},{\"n\":\"英国\",\"v\":\"英国\"},{\"n\":\"新加坡\",\"v\":\"新加坡\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]}],\"4\":[{\"key\":\"type\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"情感\",\"v\":\"情感\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"热血\",\"v\":\"热血\"},{\"n\":\"推理\",\"v\":\"推理\"},{\"n\":\"搞笑\",\"v\":\"搞笑\"},{\"n\":\"冒险\",\"v\":\"冒险\"},{\"n\":\"萝莉\",\"v\":\"萝莉\"},{\"n\":\"校园\",\"v\":\"校园\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"机战\",\"v\":\"机战\"},{\"n\":\"运动\",\"v\":\"运动\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"少年\",\"v\":\"少年\"},{\"n\":\"少女\",\"v\":\"少女\"},{\"n\":\"社会\",\"v\":\"社会\"},{\"n\":\"原创\",\"v\":\"原创\"},{\"n\":\"亲子\",\"v\":\"亲子\"},{\"n\":\"益智\",\"v\":\"益智\"},{\"n\":\"励志\",\"v\":\"励志\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"中国\",\"v\":\"内地\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"欧美\",\"v\":\"欧美\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}],\"3\":[{\"key\":\"type\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"选秀\",\"v\":\"选秀\"},{\"n\":\"情感\",\"v\":\"情感\"},{\"n\":\"访谈\",\"v\":\"访谈\"},{\"n\":\"播报\",\"v\":\"播报\"},{\"n\":\"旅游\",\"v\":\"旅游\"},{\"n\":\"音乐\",\"v\":\"音乐\"},{\"n\":\"美食\",\"v\":\"美食\"},{\"n\":\"纪实\",\"v\":\"纪实\"},{\"n\":\"曲艺\",\"v\":\"曲艺\"},{\"n\":\"生活\",\"v\":\"生活\"},{\"n\":\"游戏互动\",\"v\":\"游戏互动\"},{\"n\":\"财经\",\"v\":\"财经\"},{\"n\":\"求职\",\"v\":\"求职\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"内地\",\"v\":\"内地\"},{\"n\":\"港台\",\"v\":\"港台\"},{\"n\":\"日韩\",\"v\":\"日韩\"},{\"n\":\"欧美\",\"v\":\"欧美\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"}]}]}]}"));
                                break;
                            case 47483:
                                break;
                            default:
                                continue;
                        }
                        i5 = 48705;
                    }
                    return jSONObject.toString();
                }
            }
        } catch (Throwable th) {
            System.out.println(th);
            return "";
        }
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x0081. Please report as an issue. */
    public String homeVideoContent() {
        String m17 = C0005.m17(f53short, 1934, 11, 2573);
        String m47 = C0015.m47(f53short, 1945, 8, 1317);
        String m172 = C0005.m17(f53short, 1953, 6, 1702);
        String m27 = C0008.m27(f53short, 1959, 7, 1314);
        try {
            JSONObject jSONObject = new JSONObject(formUpload(this.h + C0005.m17(f53short, 1966, 15, 859)));
            JSONArray jSONArray = new JSONArray();
            JSONArray jSONArray2 = jSONObject.getJSONObject(C0000.m1(f53short, 1981, 4, 3056)).getJSONArray(C0018.m56(f53short, 1985, 3, 1382));
            int i = 0;
            while (true) {
                int length = jSONArray2.length();
                int i2 = 1616;
                while (true) {
                    i2 ^= 1633;
                    switch (i2) {
                        case 14:
                        case 49:
                            i2 = i < length ? 1709 : 1678;
                        case 204:
                            JSONObject jSONObject2 = jSONArray2.getJSONObject(i);
                            JSONObject jSONObject3 = new JSONObject();
                            jSONObject3.put(m172, jSONObject2.getString(m172));
                            jSONObject3.put(m47, jSONObject2.getString(m47));
                            boolean has = jSONObject2.has(m27);
                            int i3 = 1740;
                            while (true) {
                                i3 ^= 1757;
                                switch (i3) {
                                    case 17:
                                        i3 = has ? 1833 : 1802;
                                    case 54:
                                    case 471:
                                        jSONObject3.put(m27, jSONObject2.getString(C0011.m35(f53short, 1988, 13, 2369)));
                                        break;
                                    case 500:
                                        jSONObject3.put(m27, jSONObject2.getString(m27));
                                        int i4 = 1864;
                                        while (true) {
                                            i4 ^= 1881;
                                            switch (i4) {
                                                case 17:
                                                    i4 = 48674;
                                                case 47483:
                                                    break;
                                            }
                                        }
                                        break;
                                }
                            }
                            jSONObject3.put(m17, jSONObject2.getString(m17));
                            jSONArray.put(jSONObject3);
                            i++;
                            int i5 = 48767;
                            while (true) {
                                i5 ^= 48784;
                                switch (i5) {
                                    case 14:
                                        break;
                                    case 239:
                                        i5 = 48798;
                                        break;
                                }
                            }
                            break;
                        case 239:
                            break;
                    }
                    JSONObject jSONObject4 = new JSONObject();
                    jSONObject4.put(C0007.m26(f53short, 2001, 4, 2076), jSONArray);
                    return jSONObject4.toString();
                }
            }
        } catch (Throwable th) {
            return "";
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:18:0x002f, code lost:
    
        return;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public void init(android.content.Context r4, java.lang.String r5) {
        /*
            r3 = this;
            r0 = 0
            java.lang.String r1 = "ۤ۠ۧ"
            r2 = r1
            r1 = r0
        L5:
            int r2 = com.github.catvod.parser.C0006.m20(r2)
            switch(r2) {
                case 1748890: goto L14;
                case 1751531: goto L19;
                case 1752739: goto L1f;
                case 1753485: goto L2f;
                case 1753507: goto L27;
                default: goto Lc;
            }
        Lc:
            r0 = 0
            byte[] r0 = android.util.Base64.decode(r1, r0)
            java.lang.String r2 = "ۦۢ۟"
            goto L5
        L14:
            r3.h = r5
            java.lang.String r2 = "ۦۡۨ"
            goto L5
        L19:
            super.init(r4, r5)
            java.lang.String r2 = "ۥۨۦ"
            goto L5
        L1f:
            r1 = 1
            java.lang.String r1 = r5.substring(r1)
            java.lang.String r2 = "ۥۣۨ"
            goto L5
        L27:
            java.lang.String r5 = new java.lang.String
            r5.<init>(r0)
            java.lang.String r2 = "ۡۨۡ"
            goto L5
        L2f:
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.TTian.init(android.content.Context, java.lang.String):void");
    }

    public String parseurl(String str, String str2) {
        String lowerCase;
        JSONObject jSONObject = new JSONObject();
        try {
            int length = str.length();
            String m3 = C0001.m3(f53short, 2005, 5, 885);
            String m1 = C0000.m1(f53short, 2010, 3, 1181);
            int i = 1616;
            while (true) {
                i ^= 1633;
                switch (i) {
                    case 14:
                    case 49:
                        i = length < 3 ? 1709 : 1678;
                    case 204:
                        jSONObject.put(m3, 0);
                        jSONObject.put(m1, str2);
                        return jSONObject.toString();
                    case 239:
                        String valueOf = String.valueOf(System.currentTimeMillis() / 1000);
                        boolean contains = this.h.contains(C0017.m52(f53short, 2013, 4, 2368));
                        int i2 = 1740;
                        while (true) {
                            i2 ^= 1757;
                            switch (i2) {
                                case 17:
                                    i2 = contains ? 1833 : 1802;
                                case 54:
                                case 471:
                                    lowerCase = CE.h(this.V0 + valueOf, CE.V0).toLowerCase();
                                    break;
                                case 500:
                                    lowerCase = CE.h(this.j + valueOf, CE.V0).toLowerCase();
                                    int i3 = 1864;
                                    while (true) {
                                        i3 ^= 1881;
                                        switch (i3) {
                                            case 17:
                                                i3 = 48674;
                                                continue;
                                            case 47483:
                                                break;
                                            default:
                                                continue;
                                        }
                                    }
                                    break;
                            }
                        }
                        String oq = fP.oq(str + str2 + C0017.m52(f53short, 2017, 6, 562) + lowerCase + C0008.m27(f53short, 2023, 11, 2637) + valueOf, h(str2));
                        boolean contains2 = oq.contains(C0003.m9(f53short, 2034, 1, 580));
                        String m9 = C0003.m9(f53short, 2035, 3, 2926);
                        int i4 = 48767;
                        while (true) {
                            i4 ^= 48784;
                            switch (i4) {
                                case 14:
                                case 45:
                                    JSONObject jSONObject2 = new JSONObject(oq);
                                    boolean has = jSONObject2.has(m1);
                                    String m35 = C0011.m35(f53short, 2038, 2, 1549);
                                    int i5 = 48891;
                                    while (true) {
                                        i5 ^= 48908;
                                        switch (i5) {
                                            case 22:
                                            case 53:
                                                break;
                                            case 503:
                                                i5 = has ? 49635 : 48953;
                                            case 32495:
                                                String string = jSONObject2.getString(m1);
                                                int i6 = 49666;
                                                while (true) {
                                                    i6 ^= 49683;
                                                    switch (i6) {
                                                        case 17:
                                                            i6 = string != "" ? 49759 : 49728;
                                                        case 50:
                                                        case 76:
                                                            String string2 = jSONObject2.getString(m1);
                                                            System.out.println(C0018.m56(f53short, 2040, 7, 2317) + string2);
                                                            int length2 = string2.length();
                                                            int i7 = 49790;
                                                            while (true) {
                                                                i7 ^= 49807;
                                                                switch (i7) {
                                                                    case 18:
                                                                        break;
                                                                    case 51:
                                                                        boolean contains3 = string2.contains(C0011.m35(f53short, 2047, 65, 495));
                                                                        int i8 = 49914;
                                                                        while (true) {
                                                                            i8 ^= 49931;
                                                                            switch (i8) {
                                                                                case 497:
                                                                                    if (!contains3) {
                                                                                        break;
                                                                                    } else {
                                                                                        i8 = 50658;
                                                                                    }
                                                                                case 1711:
                                                                                    break;
                                                                                case 1736:
                                                                                    jSONObject.put(m3, 0);
                                                                                    jSONObject.put(m1, string2);
                                                                                    return jSONObject.toString();
                                                                                case 1769:
                                                                                    jSONObject.put(m35, 1);
                                                                                    jSONObject.put(m1, str2);
                                                                                    return jSONObject.toString();
                                                                                default:
                                                                                    continue;
                                                                            }
                                                                            i8 = 50627;
                                                                        }
                                                                    case 84:
                                                                        return m9;
                                                                    case 241:
                                                                        if (length2 >= 5) {
                                                                            break;
                                                                        } else {
                                                                            i7 = 49883;
                                                                        }
                                                                    default:
                                                                        continue;
                                                                }
                                                                i7 = 49852;
                                                            }
                                                        case 83:
                                                            break;
                                                    }
                                                }
                                                break;
                                        }
                                    }
                                    boolean contains4 = str2.contains(C0002.m6(f53short, 2112, 5, 3265));
                                    int i9 = 50689;
                                    while (true) {
                                        i9 ^= 50706;
                                        switch (i9) {
                                            case 19:
                                                if (!contains4) {
                                                    break;
                                                } else {
                                                    i9 = 50782;
                                                }
                                            case 45:
                                                boolean oC = CE.oC(str2);
                                                int i10 = 50813;
                                                while (true) {
                                                    i10 ^= 50830;
                                                    switch (i10) {
                                                        case 18:
                                                            break;
                                                        case 53:
                                                            return jSONObject.toString();
                                                        case 243:
                                                            if (!oC) {
                                                                break;
                                                            } else {
                                                                i10 = 51557;
                                                            }
                                                        case 4075:
                                                            jSONObject.put(m35, 1);
                                                            jSONObject.put(m1, str2);
                                                            return jSONObject.toString();
                                                        default:
                                                            continue;
                                                    }
                                                    i10 = 50875;
                                                }
                                            case 50:
                                                break;
                                            case 76:
                                                jSONObject.put(m3, 0);
                                                jSONObject.put(m1, str2);
                                                return jSONObject.toString();
                                            default:
                                                continue;
                                        }
                                        i9 = 50751;
                                    }
                                    break;
                                case 76:
                                    return m9;
                                case 239:
                                    i4 = !contains2 ? 48860 : 48829;
                            }
                        }
                        break;
                }
            }
        } catch (JSONException e) {
            throw new RuntimeException(e);
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:81:?, code lost:
    
        return "";
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public java.lang.String playerContent(java.lang.String r11, java.lang.String r12, java.util.List<java.lang.String> r13) {
        /*
            Method dump skipped, instructions count: 308
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.TTian.playerContent(java.lang.String, java.lang.String, java.util.List):java.lang.String");
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:39:0x00ce. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:47:0x00fe. Please report as an issue. */
    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x008c. Please report as an issue. */
    public String searchContent(String str, boolean z) {
        String m35 = C0011.m35(f53short, 2144, 11, 2232);
        String m30 = C0009.m30(f53short, 2155, 8, 2549);
        String m47 = C0015.m47(f53short, 2163, 6, 1051);
        String m3 = C0001.m3(f53short, 2169, 4, 1038);
        String m56 = C0018.m56(f53short, 2173, 7, 2295);
        try {
            JSONObject jSONObject = new JSONObject();
            String formUploadSearch = formUploadSearch(this.h + C0004.m12(f53short, 2180, 15, 691), str);
            JSONArray jSONArray = new JSONArray();
            JSONArray jSONArray2 = new JSONObject(formUploadSearch).getJSONObject(C0001.m3(f53short, 2195, 4, 2633)).getJSONArray(m3);
            int i = 0;
            while (true) {
                int length = jSONArray2.length();
                int i2 = 1616;
                while (true) {
                    i2 ^= 1633;
                    switch (i2) {
                        case 14:
                        case 49:
                            i2 = i < length ? 1709 : 1678;
                        case 204:
                            JSONObject jSONObject2 = jSONArray2.getJSONObject(i);
                            JSONObject jSONObject3 = new JSONObject();
                            jSONObject3.put(m47, jSONObject2.getString(m47));
                            jSONObject3.put(m30, jSONObject2.getString(m30));
                            boolean has = jSONObject2.has(m56);
                            int i3 = 1740;
                            while (true) {
                                i3 ^= 1757;
                                switch (i3) {
                                    case 17:
                                        i3 = has ? 1833 : 1802;
                                    case 54:
                                    case 471:
                                        jSONObject3.put(m56, jSONObject2.getString(C0009.m30(f53short, 2199, 13, 2741)));
                                        break;
                                    case 500:
                                        jSONObject3.put(m56, jSONObject2.getString(m56));
                                        int i4 = 1864;
                                        while (true) {
                                            i4 ^= 1881;
                                            switch (i4) {
                                                case 17:
                                                    i4 = 48674;
                                                case 47483:
                                                    break;
                                            }
                                            break;
                                        }
                                }
                            }
                            jSONObject3.put(m35, jSONObject2.getString(m35));
                            jSONArray.put(jSONObject3);
                            int i5 = i + 1;
                            int i6 = 48767;
                            while (true) {
                                i6 ^= 48784;
                                switch (i6) {
                                    case 14:
                                        break;
                                    case 239:
                                        i6 = 48798;
                                }
                            }
                            i = i5;
                            break;
                        case 239:
                            break;
                    }
                    jSONObject.put(m3, jSONArray);
                    return jSONObject.toString();
                }
            }
        } catch (Throwable th) {
            return "";
        }
    }
}
